#include "Queue.h"

void Test01()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q,1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	//QueuePop(&q);
	//QueuePop(&q);


	//printf("%d\n", QueueFront(&q));
	//printf("%d\n", QueueBack(&q));

	while (!QueueEmpty(&q))
	{
		printf("%d ", QueueFront(&q));
		QueuePop(&q);
	}


	QueueDestroy(&q);
}

int main()
{
	Test01();
	return 0;
}